// --------------------------------------------------------------------------------------------------------------------
// <copyright file="RegisterClientValidationExtensions.cs" company="DissingNellemann">
//   
// All rights reserved </copyright>
// <summary>
//   The register client validation extensions.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

using WebActivator;

using Website.App_Start;

[assembly: PreApplicationStartMethod(typeof(RegisterClientValidationExtensions), "Start")]

namespace Website.App_Start
{
    using DataAnnotationsExtensions.ClientValidation;

    /// <summary>
    ///     The register client validation extensions.
    /// </summary>
    public static class RegisterClientValidationExtensions
    {
        #region Public Methods and Operators

        /// <summary>
        ///     The start.
        /// </summary>
        public static void Start()
        {
            DataAnnotationsModelValidatorProviderExtensions.RegisterValidationExtensions();
        }

        #endregion
    }
}